﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_DairyProduct
    {
        D_DairyProduct dal = new D_DairyProduct();
        public static B_DairyProduct CreateInstance()
        {
            return new B_DairyProduct();
        }
        public bool CreateOneDairyProduct(DairyProduct_Info DairyProduct_Info)
        {

            return dal.CreateOneDairyProduct(DairyProduct_Info);
        }
        public bool EditOneDairyProduct(DairyProduct_Info DairyProduct_Info)
        {

            return dal.EditOneDairyProduct(DairyProduct_Info);
        }
        public bool RemoveOneDairyProduct(int DairyProductID)
        {

            return dal.RemoveOneDairyProduct(DairyProductID);
        }
        public DataTable GetAllDairyProduct()
        {
            
            return dal.GetAllDairyProduct();
        }
        public DairyProduct_Info GetOneDairyProduct(int DairyProductID)
        {
            
            return dal.GetOneDairyProduct(DairyProductID);
        }
    }
}
